#
#2008 Julka Lipkova
#

import os
import sys

#DATADIR = os.path.dirname( sys.path[0] )
DATADIR = '.'

GLADE_PATH = os.path.join( DATADIR, 'glade' )

DEFAULT_GLYPH_HEIGHT = 80

DEFAULT_DAREA_WIDTH = 400
DEFAULT_DAREA_HEIGHT = 300

EPS = 0.0000001
SHIFTMODE = 1

def rrange(a,b,s):
    x = a
    while x<b:
        yield x
        x = x + s


def gladeFile( name ):
    return os.path.join( GLADE_PATH, name )

# vim: set ts=4 sw=4 sts=4 et :
